package com.aat.dxfy.dxyStart;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;

public class FileStrToJavaStr {

	public static void main(String[] args) {
		try{
			File file=new File("E:\\javaSrc\\gitosc\\dizenaStart\\src\\main\\webapp\\WEB-INF\\pages\\master\\appdemo\\edit.jsp");
			BufferedReader br=new BufferedReader(new FileReader(file));
			String s=null;
			while((s=br.readLine())!=null){
				String ss =s.replace("\"", "\\\"");
				System.out.println("res+=\""+ss+"\\n\";");
			}
			br.close();
			
		}catch(Exception e){
			
		}
	}

}
